//
//  NKViewController.m
//  NKReYunSDK
//
//  Created by nick on 02/16/2022.
//  Copyright (c) 2022 nick. All rights reserved.
//

#import "NKViewController.h"
#import <TrackingIOSDK/Tracking.h>

@interface NKViewController ()

@end

@implementation NKViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    [Tracking trackViewName:@"mainview" duration:10 withParams:@{@"param2":@(456)}];
    NSDictionary *dict = @{
            @"param1":@"aaa",@"param2":@"bbb",
        };
    [Tracking setEvent:@"event_1" param:dict];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
